package com.ctshk.rpc.starvip.factory;

import com.ctshk.rpc.starvip.dto.start_vip.SiebelMessage;
import org.springframework.util.Assert;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.starvip.factory
 * @Author: hef
 * @CreateTime: 2021-04-12 10:57
 * @Description: 星赏会请求对象工厂
 */
public abstract class StarVipReqProvider<T> {
    protected T req;

    public StarVipReqProvider(T t) {
        Assert.notNull(t, "数据对象不能为空!");
        this.req = t;
    }

    /**
     * 生产对象
     * @return
     */
    public abstract SiebelMessage produce();
}
